package cn.magictodo.weblog.web.event;

import lombok.Getter;
import org.springframework.context.ApplicationEvent;

/**
 * 添加ip事件监听者
 * @author liu
 * @since 2024-03-25 23:14
 */
@Getter
public class AddIpEvent extends ApplicationEvent {

    /**
     * ip ID
     */
    private Long ipId;

    public AddIpEvent(Object source, Long ipId) {
        super(source);
        this.ipId = ipId;
    }
}
